<!-- 保养表格 -->

<template>
  <WebTable v-bind="tableProp" noPage>
    <RowText label="保养计划" bind="planName" />

    <RowText label="负责人" bind="name" />

    <RowNum label="任务总数" bind="taskTotal" sort />

    <RowNum label="按时完成任务数" bind="ontimeFinishTask" empty="0" :minWidth="100" sort />

    <RowNum label="按时完成率" bind="ontimeFinishRate" empty="0" suffix="%" sort />

    <OurRowRate bind="ontimeFinishRingRatio" sort />

    <RowNum label="未完成任务数" bind="unfinishTask" empty="0" :minWidth="90" sort />

    <RowNum label="未完成率" bind="unfinishRate" empty="0" suffix="%" sort />

    <OurRowRate bind="unfinishRingRatio" sort />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import mixTable from '../../mixTable'
import { index } from '../store/state'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MaintenanceTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixTable(index)],
}
</script>
